const Mock = require('mockjs')

module.exports = {
    'get /order/tj'(req, res) {
        res.status(200).json(Mock.mock({
            'data': {
                'dingdan_num|100-1000': 0,
                'dingdan_zje|100-1000': 0,
                'tsds|100-1000': 0,
                'ts': '@float(1,10,1,1)',
                'qtds|100-1000': 0,
                'qtlv': '@float(10,100,1,1)',

                'order_tj|1-10': [{
                    'sh_ID|+1': 150,
                    'shop_name': '美宜佳-' + '@cword(2)' + '店',
                    'hnagye': '小超市',
                    'ddzsl|10-100': 0,
                    'ddzje': '@float(100,10000,2,2)',
                    'tsddsl|1-10': 0,
                    'tslv|1-10': 0,
                    'qtdsl|1-10': 0,
                    'qtje': '@float(100,1000,2,2)',
                    'qrtklv': '@float(10,100,1,1)'
                }]
            },
            'message': '获取成功',
            'status': 200
        }))
    }
}